package com.group3.dao;

import com.group3.domain.WorkRecord;
import com.group3.domain.WorkRecordExample;
import java.util.List;

import com.group3.pojo.WorkRecordInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WorkRecordMapper {
    long countByExample(WorkRecordExample example);

    int deleteByExample(WorkRecordExample example);

    int insert(WorkRecord record);

    int insertSelective(WorkRecord record);

    List<WorkRecord> selectByExample(WorkRecordExample example);

    int updateByExampleSelective(@Param("record") WorkRecord record, @Param("example") WorkRecordExample example);

    int updateByExample(@Param("record") WorkRecord record, @Param("example") WorkRecordExample example);

    List<WorkRecordInfo> selectWordRecordInfo(WorkRecordExample example);
}